Work with Conceptual, Logical, and Physical Models

This topic introduces conceptual, logical, and physical models as related levels of data-model detail and walks you through a Lead-to-Cash example.

Scenario: Lead‑to‑Cash Modeling in a Growing Organization

When an organization scales its revenue operations, it requires a clear and consistent way to understand how demand is converted into cash.

  • Sales leaders need confidence in pipeline health and revenue forecasts.

  • Finance teams require accurate and traceable order, invoice, and payment data.

  • Executives depend on a single, trusted view of revenue performance across the enterprise.

Lead‑to‑Cash modeling meets these needs by representing the revenue process at multiple levels of detail. Each model type emphasizes a different level of detail and answers different design questions.

The following sections explain each model type and illustrate the progression from conceptual to logical to physical design.

Common Workflow (steps 1–5)

The following steps apply to all model types.

To create a model:

  1. On the Quest Data Modeler Overview page, under Quick Actions, select New Model.

    Quest Data Modeler Overview page

    The New Model dialog .

    New Model Dialog

  2. In the Model Name field, enter a name for the model.

  3. Select a model type from the drop-down menu:

    • Conceptual

    • Logical

    • Physical: Select the database and version.

    • Logical/Physical: Select the database and version.

    Note: The logical/physical model combines logical design and physical implementation in one model, with synchronized views. For more information, refer to the Build Your First Data Model topic.

  4. Select Create Model.

    A blank model is created. You can now add model elements relevant to the selected model type.

    Blank Model Page

  5. To save the model for future use, do one of the following:

    • Download the model:

      1. Select Download.

      2. From the drop-down list, choose the required format. For example, Export to JSON.

    • Save the model to a Mart library:

      1. Select , and then select Save as.

      2. On the Save page, select the library where you want to save the model.

      3. Select Save as.

Conceptual Model

When stakeholders need to agree on the main business concepts and how they relate, a conceptual model can help establish that shared understanding. In the Lead-to-Cash scenario, sales, finance, and operations can use it to align on the core elements of the sales lifecycle.

Conceptual models include the following components:

  • Entities: Objects or concepts that represent data within the system.

  • Relationships: Associations between entities that define how they interact. You can create the following types of relationships:

    • Identifying

    • Non-identifying

    • Many-to-many

For the Lead-to-Cash scenario, identify the following core entities:

  • Lead

  • Opportunity

  • Customer

  • Sales Order

  • Invoice

  • Payment

Define the following high-level relationships between entities:

  • A Lead converts into an Opportunity.

  • An Opportunity results in a Sales Order.

  • A Sales Order generates an Invoice.

  • A Payment settles an Invoice.

  • A Customer is associated with Opportunities, Orders, and Payments.

Adding Entities

To add an entity:

  1. Open the Conceptual model.

  2. On the toolbar, select Add Entity Icon, and then select a location in Diagram View to add the entity.

    The New Entity dialog appears.

    New Entity Dialog

  3. In the Entity Name field, enter the required name. For example, Customer.

    Click anywhere outside the dialog box to close it.

    Diagram View showing the entity named Customer

    The entity is added to the model.

Similarly, add more entities. Entities can also be added from Model Explorer or using AI assistant from the right pane.

Conceptual Model

Adding Relationships

To add a relationship:

  1. On the toolbar, select Add Relationship Icon.

  2. Select the type of relationship you want to add. For example, Non-Identifying.

  3. In Diagram view, select the parent entity, drag to the child entity, and then select it to create a relationship.

When the relationship is created, the cursor changes to the non-identifying relationship symbol, and the relationship appears in the diagram.

The Non-identifying relationship is added.

Add Relationships

Similarly, add the remaining relationships to complete the conceptual model.

Conceptual Model with Relationships

The conceptual model is optional for organizations with a well-established sales process. However, it is especially valuable when the process is new or evolving, or when cross-team alignment is needed before any technical design begins.

How This Leads to the Next Model

After stakeholders validate the conceptual model and agree on the core elements of the revenue process, you can create the logical model to define the information required to manage and measure revenue.

Logical Model

To support reporting and analysis, sales and finance teams need measurable insight into the following:

  • Pipeline value

  • Forecasted revenue

  • Conversion rates

  • Outstanding invoices

This requires structured data, not just concepts. The logical model translates business concepts into structured information, enables reporting and analysis, and remains independent of database technology.

In the logical model, you create entities that correspond to the conceptual entities you defined earlier. For each entity, you then define attributes that represent the specific data fields required to capture and manage business information. For example, a Customer entity can include attributes such as Customer_ID, Customer Name, Address, and Phone Number.

Business Attributes:

  • Lead: Lead_ID, Source, Status

  • Opportunity: Opportunity_ID, EstimatedValue, CloseDate, Stage

  • Customer: Customer_ID, Name, Industry

  • SalesOrder: Order_ID, OrderDate, TotalAmount

  • Invoice: Invoice_ID, InvoiceDate, InvoiceAmount

  • Payment: Payment_ID, PaymentDate, PaymentAmount

Key Groups:

Key groups define how entities are identified, related, and accessed in the logical model. They provide a foundation for consistent relationships and future physical implementation.

Key groups do not implement database constraints or indexes; those decisions are made in the physical model.

Choose the relationship type based on the child entity's key design. In an identifying relationship, the parent key becomes part of the child entity's primary key group. In a non-identifying relationship, the parent key is a foreign key but is not part of the child entity's primary key.

In this example, Payment_ID is the standalone primary key, so the Invoice‑Payment relationship is non‑identifying and Invoice_ID remains a foreign key.

Types of Key Groups:

The logical model supports the following key group types:

  • Primary key group

    Uniquely identifies each instance of an entity.

  • Alternate key group

    A secondary unique identifier recognized by the business but not selected as the primary key.

  • Non‑unique key group (Inversion entry)

    A non‑unique combination of attributes frequently used to search or access data.

  • Foreign keys (via relationships)

    Created when a relationship is defined and a parent key migrates to a child entity.

    Foreign keys are not defined as standalone key groups.

Adding Attributes

You can add attributes to the logical model by using the Model Explorer or Quick Editor. Attributes can also be defined when you create entities in the logical model.

This section focuses on adding attributes by using Quick Editor, which provides a fast and efficient way to define and update attributes directly in the logical model.

To add an attribute:

  1. Create the Logical model for Lead to Cash scenario.

    You can also derive the logical model from the conceptual model. For more information about how to derive a model, refer to the Derive Models topic.

  2. Double‑click the entity to which you want to add attributes. For example, Payment.

    The Quick Editor opens.

    Attribute Quick Editor

  3. Select Attribute Icon in the upper-right corner or the Attributes tab.

    The Attributes tab opens.

    Attribute Tab

  4. Select New Attribute Icon.

    A new row is added for defining an attribute.

    Define Attribute

  5. Define the attribute by specifying values in the fields. For example, to define Payment_ID as a primary key, select the checkbox in the Primary Key column.

The attribute is added to the entity. You may need to switch to attribute view from the toolbar to view the attributes.

Attribute PaymentID

Similarly, add the remaining attributes.

Logical Model with Attributes

Adding Key Groups

In Quest Data Modeler key groups are added either automatically by the system or explicitly by the user.

  • Automatic key group creation (system‑driven)

    System automatically creates key groups based on common modeling actions.

    • Primary key definition

      When one or more attributes are marked as Primary Keys, QDM automatically creates Primary Key Groups and assigns those attributes to it.

    • Alternate key definition

      When a unique key is defined (for example, a unique combination of attributes), QDM creates an Alternate Key Group.

    • Identifying relationships

      When an identifying relationship is created, the parent entity’s primary key migrates to the child entity and becomes part of the child entity’s Primary Key Group.

    In these cases, the user does not explicitly create a key group. QDM creates the key group implicitly based on attribute settings and relationship definitions.

  • Manual key group creation (User‑driven)

    You can add key groups through the Attribute Editor or through the Key groups editor, even though key groups remain owned by the entity.

    To add a key group manually:

    1. Double‑click the entity to which you want to add attributes. For example, Payment.

      The Quick Editor opens.

      Payment entity properties in Quick Editor

    2. Do one of following

      • Select in the upper-right corner.

      • In the Model Explorer, expand the entity to which you want to add a key group, and select the Key Groups node and then select Quick Editor.

      The Key Group Quick Editor opens.

      Key Group Key Editor

    3. Select .

    4. From the drop‑down, select New Alternate Key or New Inversion Entry.

      A new row is added for defining the key group.

      Key Group Quick Editor showing the XAK1Payment alternate key

    5. Define the key group by specifying values in the fields.

For example, in the Lead-to-Cash scenario:

  • Primary key group → Customer_ID

    The Customer_ID primary key group uniquely identifies each customer across the enterprise.

  • Alternate key group → Customer Email

    The Customer Email alternate key group represents a secondary, business‑recognized unique identifier that can later be enforced as a unique constraint in the physical model.

  • Non‑Unique Key Group (Inversion Entry)

    Add the attributes commonly used to search or filter data. For example, Customer Last Name.

    The inversion entry documents that users frequently search for customers by last name. In the physical model, this can later be implemented as a non‑unique index.

Relationship Reminder

Foreign keys are not added as key groups. Foreign keys are created automatically when relationships are defined. They originate from primary or alternate key groups in the parent entity.

For example,

Customer_ID (Primary key in Customer)

→ migrates to

Customer_ID (Foreign key in Sales Order)

Primary and alternate key groups define how Lead‑to‑Cash entities are uniquely identified, while non‑unique key groups (inversion entries) capture common access patterns used for searching and reporting.

Single‑attribute key groups are valid and meaningful; composite key groups should be defined only when required by explicit business identification rules. For example:

Country Code + Phone Number

How This Leads to the Next Model

After the logical model defines the structure and relationships of revenue data, the next step is to determine how that data will be stored, enforced, and optimized for a specific database platform. This is the purpose of the physical model.

The logical model provides a consistent foundation for physical design across data platforms. In SQL systems, entities typically map to tables with columns and relationships enforced through foreign keys, while in NoSQL systems, entities can be implemented as collections with fields and platform‑specific relationship handling.

Physical Model

The physical model translates the validated logical design of the Lead-to-Cash process into a structure for a specific database platform. At this stage, the focus shifts from business meaning to target-specific implementation details.

What Changes When Moving from Logical to Physical

The physical model translates the logical design into database-specific structures. Constraints can enforce selected integrity rules when the target platform supports them and they are configured.

Key changes introduced at this stage include:

  • Defining data types supported by the target database

  • Defining supported constraints for mandatory and uniqueness rules

  • Implementing referential integrity where the target database supports it

  • Considering performance and scale requirements for the target database

Physical Structures in the Lead-to-Cash Scenario

Core Tables:

For a relational target, logical entities can be implemented as physical tables such as:

  • Lead

  • Opportunity

  • Customer

  • Sales_Order

  • Invoice

  • Payment

Each table corresponds directly to a logical entity, preserving the Lead-to-Cash lifecycle.

Keys and Constraints

Primary Keys:

Logical primary key groups are implemented as physical primary keys. For example:

  • Customer → Customer_ID

  • Sales_Order → Order_ID

  • Invoice → Invoice_ID

  • Payment → Payment_ID

These keys uniquely identify each record and support traceability across the revenue flow.

Foreign Keys:

For a relational target that supports and has these constraints enabled, relationships can be implemented with foreign keys such as:

  • Opportunity.Customer_ID → Customer.Customer_ID

  • Sales_Order.Opportunity_ID → Opportunity.Opportunity_ID

  • Invoice.Order_ID → Sales_Order.Order_ID

  • Payment.Invoice_ID → Invoice.Invoice_ID

When these foreign-key constraints are supported and enabled, each invoice must reference an existing order and each payment must reference an existing invoice.

The physical model provides a database-specific structure for implementing the modeled Lead-to-Cash process. Data accuracy, auditability, and integration depend on the target system, constraints, and operating processes.

Adding Tables

For relational targets, each logical entity can be implemented as a physical table.

To add a table:

  1. Create the Physical model.

    You can also derive the physical model from the logical model. For more information about how to derive a model, refer to the Derive Models topic.

    Physical Model

  2. On the toolbar, select , and then select a location in Diagram View to add a table.

    The New Table dialog appears.

    New Table dialog with table name and key fields

  3. In the Table Name field, enter the rquired name. For example, Customer.

    You can add primary and non-primary keys here, or add them later in Quick Editor. Click anywhere outside the dialog box to close it.

The new table appears in Diagram View.

Physical model with Customer table

Similarly, you can add more tables in the model.

Physical Model with Tables

Add a table for each logical entity, such as Customer, Opportunity, Sales Order, Invoice, and Payment.

Apply naming conventions that align with organizational or platform standards.

Adding Columns

Logical attributes are implemented as physical columns within their corresponding tables.

To add a column:

  1. In Diagram View, double‑click the table to which you want to add columns. For example, Customer.

    The Quick Editor opens.

    Column Quick Editor

  2. Select Add Columns Icon in the upper-right corner or the Columns tab.

    The Columns tab opens.

    Columns tab in the Quick Editor with no columns

  3. Select .

    A new row is added for defining a column.

    Column Quick Editor with a new default row

  4. Define the column by specifying values in the fields.

The column is added to the table. For example, Customer_Name is added to the Customer table.

Physical Models with Columns

Similarly, add the remaining columns.

Physical model showing columns in each table

Add relationships as explained earlier if you created a separate physical model.

Physical model showing invoice foreign-key relationships

Once access patterns and relationships are clearly understood and tables and columns are finalized, Indexes are defined.

Adding Indexes

Indexes optimize data access and improve query performance. Before adding indexes, complete the following planning steps:

  • Review reporting and access requirements for the Lead to Cash process.

  • Confirm that primary keys are indexed. (created automatically by QDM).

  • Add indexes on foreign key columns.

  • Add secondary indexes on frequently filtered or sorted columns, such as status or date fields.

  • Review and adjust indexes to balance performance and maintenance overhead.

To add an index to a table:

  1. Do one of following

    • Select in the upper-right corner.

    • In the Model Explorer, expand the table to which you want to add an index, and then select the Indexes node.

  2. Select Quick Editor.

    The Index Quick Editor opens.

    Index Quick Editor

  3. Select Add Index rows Icon.

  4. From the drop‑down list, select an index type, for example, New Non-Unique Index.

    A new row is added for defining an index.

    Define Index

  5. Define the index by specifying values in the fields:

    The index is created. Similarly, you can add more indexes in the model.

    Physical model diagram with related tables and columns

Summary

The physical model completes the Lead‑to‑Cash modeling process by enforcing validated business structure through tables, columns, keys, and indexes. This ensures that revenue data is accurate, traceable, and ready for operational execution across sales and finance systems.